package com.eml.service.entity;

public class Payment {
    private Integer payID;//支付编号
    private String payWays;//支付方式
    private boolean payStatus;//支付状态
    private Integer payAmount;//支付金额
    private String payRecord;//支付记录

    public Payment() {
    }

    public Payment(String payWays, boolean payStatus, Integer payAmount, String payRecord) {
        this.payWays = payWays;
        this.payStatus = payStatus;
        this.payAmount = payAmount;
        this.payRecord = payRecord;
    }

    public Payment(Integer payID, String payWays, boolean payStatus, Integer payAmount, String payRecord) {
        this.payID = payID;
        this.payWays = payWays;
        this.payStatus = payStatus;
        this.payAmount = payAmount;
        this.payRecord = payRecord;
    }

    public Integer getPayID() {
        return payID;
    }

    public void setPayID(Integer payID) {
        this.payID = payID;
    }

    public String getPayWays() {
        return payWays;
    }

    public void setPayWays(String payWays) {
        this.payWays = payWays;
    }

    public boolean isPayStatus() {
        return payStatus;
    }

    public void setPayStatus(boolean payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Integer payAmount) {
        this.payAmount = payAmount;
    }

    public String getPayRecord() {
        return payRecord;
    }

    public void setPayRecord(String payRecord) {
        this.payRecord = payRecord;
    }

    @Override
    public String           toString() {
        return "Payment{" +
                "payID=" + payID +
                ", payWays='" + payWays + '\'' +
                ", payStatus=" + payStatus +
                ", payAmount=" + payAmount +
                ", payRecord='" + payRecord + '\'' +
                '}';
    }
}
